@import './variables.module.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './ruoyi.scss';

body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  // padding: 20px;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-image: url(/src/assets/images/common/bg.png);
  position: relative;
  overflow: hidden;
  // min-height: 1080px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.dialogTitle {
  font-size: 24px;
  font-weight: bold;
  color: #0e76d7;
  text-align: center;
  margin: 20px 0 30px;
}

.katex {
  padding: 0 5px;
}

.app-main {
  height: calc(100% - 90px);
}

@font-face {
  font-family: 'DS-Digital';
  src:
    url('@/assets/fonts/DS-Digital/DS-DIGIT-4.ttf'),
    url('@/assets/fonts/DS-Digital/DS-DIGII-3.ttf'),
    url('@/assets/fonts/DS-Digital/DS-DIGIB-2.ttf'),
    url('@/assets/fonts/DS-Digital/DS-DIGI-1.ttf');
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0px;
  height: 8px;
  background-color: #002f5d;
}


/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  // -webkit-box-shadow: inset 0 0 6px #d8dee7;
  // border-radius: 5px;
  display: none;
}


/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  // border-radius: 5px;
  // -webkit-box-shadow: inset 0 0 6px #d8dee7;
  // background-color: #053b72;
  display: none;
}

/********************** 大屏页面公用样式 *****************************/
.app-main {
	display: flex;
	justify-content: space-between;

	/* 地图 */
	.app-map {
		width: 960px;
        height: 100%;
		//overflow: hidden;
		position: relative;
	}

  .app-left,
	.app-right {
		margin-top: 10px;
		display: flex;
		flex-direction: column;
		height: calc(100% - 40px);
		width: 450px;

		&-item {
			position: relative;
      z-index: 10;
			background: linear-gradient(135deg, rgba(0, 3, 45, .85) 0%, rgba(0, 12, 88, .85) 50%, rgba(0, 3, 45, .85) 100%);

			&::after {
				content: '';
				display: block;
        width: 100%;
				height: 15px;
				background-size: 100% 100%;
				background-image: url('../../assets/images/common/bg_bottom.png') !important;
				position: absolute;
				bottom: -10px;
        z-index: -1;
			}

      .subheadings+div {
        position: relative;
        top: -43px;
      }
		}

    &-item:not(:first-child) {
      margin-top: 20px;
    }
	}

  // 左侧
	.app-left {
		margin-left: 30px;

		&-total {
			height: 80px;
			background-size: 100% 100%;
			background-image: url('../../assets/images/losses/title.png');
			font-size: 22px;
			color: #46FFFF;
			line-height: 80px;
			padding-left: 120px;
			box-sizing: border-box;
			display: flex;
			position: absolute;
			top: 100px;

			span {
				font-family: DS-Digital;
				font-weight: 600;
				font-size: 36px;
				padding-top: 22px;
				display: flex;
				margin-left: 8px;

				i {
					display: block;
					width: 26px;
					height: 36px;
					background: #004C86;
					margin: 0 2px;
					font-style: normal;
					line-height: 36px;
					text-align: center;
				}
			}
		}
	}

  // 右侧
  .app-right {
		margin-right: 30px;
  }
}
.showCursor{
  cursor: pointer;
}